﻿using Abp.Application.Services.Dto;
using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.Admin.Models.Roles
{
    [INotifyPropertyChanged]
    public partial class ChooseItem
    {
        public ChooseItem(NameValueDto nameValue)
        {
            value = nameValue;
        }

        [ObservableProperty]
        private bool isSelected;

        private NameValueDto value;

        public NameValueDto Value
        {
            get { return value; }
        }
    }
}
